cmake_minimum_required(VERSION 3.14)
project(cefwebengineapp)

include(../../cmake/qt.cmake)

find_package(Qt6 COMPONENTS Widgets)

file(GLOB SOURCE_FILE_LIST 
    *.h *.cpp *.ui
)

include_directories(../../include)

add_executable(${PROJECT_NAME} ${SOURCE_FILE_LIST})

target_link_libraries(${PROJECT_NAME} PUBLIC
    Qt::Widgets CefWebEngineWidgets
)

set_target_properties(${PROJECT_NAME} PROPERTIES
    WIN32_EXECUTABLE TRUE
    MACOSX_BUNDLE TRUE
)